-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cypress refactor #1058
base: main
Are you sure you want to change the base?
Cypress refactor #1058
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't confirm the logic for the test, but structurally, apart from the one observation, it looks ok to me
...s/Dfe.PrepareConversions.CypressTests/cypress/e2e/Core-journeys/application_Form_tests.cy.js
Show resolved
Hide resolved
@@ -17,12 +17,12 @@ | |||
<div class="govuk-grid-row"> | |||
<div class="govuk-grid-column-two-thirds"> | |||
<h2 class="govuk-heading-l govuk-!-margin-bottom govuk-!-font-size-36">School application form</h2> | |||
<nav class="gem-c-contents-list" aria-label="Pages in this guide" role="navigation" data-module="gem-track-click"> | |||
<nav class="gem-c-contents-list" aria-label="Pages in this guide" role="navigation" data-module="gem-track-click" data-cy="content-Table"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably have some consistency in the tags i.e. all lowercase and using either -
or _
. I'm not fussy which, but will make it easier to maintain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will do :)
it('Should filter and select the project, then verify details of Voluntary', () => { | ||
|
||
// Step 1: Filter search | ||
applicationFormTaskList.filterSearch('Fahads Cypress Trust'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just "Cypress Trust"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need it to be Fahads Cypress Trust as Elijah has already created those cases for me. but next time I can try and change the name
Title: Enhanced Cypress Test Suite for "Form a MAT" and "Voluntary Conversion" Projects in School Application Form
Description:
Our Cypress test suite has been significantly enhanced to incorporate additional checks and functionalities for the "Form a MAT" and "Voluntary Conversion" projects. The updates include:
Assignees:
Tags:
Kindly review the updates and proceed with merging the PR if everything aligns with expectations. Your cooperation is highly appreciated!